﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IdmlSharp
{
	internal class XmlReadingEventHandler
	{

		#region Events

		/// <summary>
		/// 
		/// </summary>
		internal event EventHandler<XmlReadingEventArgs> ElementStart;

		#endregion

		#region Methods

		/// <summary>
		/// 
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="args"></param>
		internal void OnElementStart(XmlReader sender, XmlReadingEventArgs e)
		{
			if (this.ElementStart != null) this.ElementStart(sender, e);
		}

		#endregion

	}
}
